package websem.model;

import java.util.HashMap;

public class Term {
	
	private int id;
	private String label;
	private HashMap<Paragraph, InfosTerm> infos;
	
	public Term(String lab){
		this.label = lab;
		this.infos = new HashMap<Paragraph, InfosTerm>();
	}
	
	
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public String getLabel() {
		return label;
	}
	
	public void setLabel(String label) {
		this.label = label;
	}
	
	public int getNumberOfParagraphs() {
		return this.infos.size();
	}

	public HashMap<Paragraph, InfosTerm> getInfos() {
		return infos;
	}

	public void setInfos(HashMap<Paragraph, InfosTerm> infos) {
		this.infos = infos;
	}
}
